<!DOCTYPE html>
<html lang="zn-ch">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>tank batle</title>
    <script
      src="https://unpkg.com/three@latest/build/three.module.js"
      async
    ></script>
    <script src="https://www.unpkg.com/html2canvas@1.4.1/dist/html2canvas.js"></script>
    <style>
      test {
        justify-content: center;
      }
      * {
        padding: 0;
        margin: 0;
      }
      body {
        position: relative;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
      }
      #game {
        width: 100vw;
        height: 100vh;
      }
      #text {
        position: absolute;
        left: 0;
        top: 0;
        z-index: -1;
        /* background-color:red */
      }
      #app {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 1;
        background: white;
        width: 200px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
      }
    </style>
  </head>
  <body>
    <div id="text"></div>
    <div id="game"></div>
    <script type="importmap">
      {
        "imports": {
          "three": "https://unpkg.com/three@latest/build/three.module.js"
        }
      }
    </script>
    <script src="./index.js" type="module"></script>
  </body>
</html>
